################################################################################
# Automatically-generated file. Do not edit!
################################################################################
#CCore Type:C0
#Chip Type:FPGA_DEMO
echo Setting up for CCore C0.\n



set endian little

target remote localhost:3333

echo halt target C0 \n

monitor halt

#monitor load_without_resume

monitor core_reset

#monitor mem_config "D:/Program Files/CCore_IDE/tool-chain/memory_config/lt168.memcfg"

#monitor script "E:/work/LT168/IDE/Chip/LT168_Demo_2023-09-25/debug_eflash/flash_erase.tcl"

#monitor script "E:/work/LT168/IDE/Chip/LT168_Demo_2023-09-25/debug_eflash/flash_pro.tcl"

#monitor reg pc 0x20000000



load



define core_reset
echo ---core reset
monitor core_reset
end

define fw_restart
echo ---reset
monitor reg pc $arg0
if $arg1 != 0
tbreak $arg1
end
continue
end


